								<?php $model = new Model();
                                	$ans = $model->getimg();
                                	foreach($ans as $row)
                                	{
                                 	?>
                                <div class="vaultthumb">
                                <div class="imgbox">
                                <img src="view/vault/<?php echo $_SESSION['user_id']; ?>/image/<?php echo $row['album']; ?>/<?php echo $row['url']; ?>" />
                                </div>
                                <div class="imgdetails ">
                                    <p>
                                        <?php echo $row['url']; ?></p>
                                    <div class="views">
                                        <span>views 10,120,12</span>
                                        <div class="iconflg">
                                            <img alt="" src="view/img/vault_icons/16/flag.png" /></div>
                                        <div class="iconset">
                                            <img alt="" src="view/img/vault_icons/16/settings.png" /></div>
                                        <div class="icondown">
                                            <img alt="" src="view/img/vault_icons/16/download.png" /></div>
                                    </div>
                                </div>
                            </div>
                                <?php 
									 } 
									 ?>
